package com.woniuxy.classdeans.service.impl;

import com.woniuxy.classdeans.mapper.GradeDeanMapper;
import com.woniuxy.classdeans.service.GradeDeanService;
import com.woniuxy.commons.entity.wyh.GradeDean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 年级主任
 * @author wangyanhui
 * @date 2020/7/29 - 15:02
 */
@Service
public class GradeDeanServiceImpl implements GradeDeanService {

    @Autowired
    private GradeDeanMapper gradeDeanMapper;
    /**
     * 获取年级主任
     * @param tcId 老师id
     * @return
     */
    @Override
    public GradeDean getByTcid(int tcId) {
        return gradeDeanMapper.getByTcid(tcId);
    }
}
